let buffer_1 = Buffer.from('I LOVE YOU')
console.log('buffer',buffer_1)
//buffer 转字符串，toString
let stringBuffer = buffer_1.toString()//默认使用utf-8的编码进行转换
console.log('stringBuffer',stringBuffer)

buffer_1[0] = 88
console.log('buffer',buffer_1[0].toString(2))//将Buffer第一项，从二进制转化成和十进制

// 中文
let buf_2 = Buffer.from('希希')
console.log('buf_2',buf_2)
